<template>
 
   <ECharts :option="pieOption" />
  
</template>

<script>
import ECharts from 'vue-echarts'
import 'echarts/lib/chart/pie'
import 'zrender/lib/canvas/canvas';
export default {
    data() {
  return {
    pieOption: {
      series: [
        {
          name: 'Traffic Sources',
          type: 'pie',
          radius: '55%',
          data: [
            { value: 335, name: 'Direct' },
            { value: 310, name: 'Email' },
            { value: 234, name: 'Ad Networks' },
            { value: 135, name: 'Video Ads' },
            { value: 1548, name: 'Search Engines' }
          ]
        }
      ]
    }
  }
},
  components: {
    ECharts
  },
  
}
</script>
</script>

<style>

</style>